package com.itheima.test4;

/**
 * @Author:gy
 * @Date: 2025/09/01 10:27
 * @Description:
 */
public class MyTheead extends Thread{
    public MyTheead() {
    }
    public MyTheead(String name) {
        super(name);
    }

    @Override
    public void run() {
       for (int i = 0; i < 10; i++) {
           System.out.println(Thread.currentThread().getName()+"===="+i);
       }
    }
}
